<!DOCTYPE html>
<html>
<head>
  @include("/include/_header.html", {'title':'定时任务日志列表'}){}
  
</head>
<body>
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">
          <div class="layui-card-header">查询</div>
          <div class="layui-card-body">
          <div class="layui-form">
            <div class="test-table-reload-btn" style="margin-bottom: 10px;">
              	任务简称：
              <div class="layui-inline">
                <input class="layui-input" name="shortName" id="shortName" autocomplete="off">
              </div>
              	任务分组：
              <div class="layui-inline">
	          	<t:select name="jobGroup" must="false" dicCode="func_timer_job_group" blank="所有"></t:select>
	          </div>
	          	执行状态：
	          <div class="layui-inline">
	          	<t:select name="status" must="false" dicCode="func_timer_job_log_status" blank="所有"></t:select>
	          </div>
	          	执行时间：
              <div class="layui-inline">
              	<input class="layui-input" name="timeBegin" id="timeBegin" placeholder="请选择开始时间" autocomplete="off" style="width: 150px;">
              </div>
                  	到：
              <div class="layui-inline">
                <input class="layui-input" name="timeEnd" id="timeEnd" placeholder="请选择结束时间" autocomplete="off" style="width: 150px;">
              </div>
              <button id="btnSearch" class="layui-btn">搜索</button>
              <button id="btnReset" class="layui-btn">重置</button>
            </div>
          </div>
            <table class="layui-hide" id="timer-job-log-table" lay-filter="timer-job-log-table"></table> 
          	<!-- 头部工具栏 -->
            <script type="text/html" id="timer-job-log-toolbar">
              <div class="layui-btn-container">
				<t:button cssClass="layui-btn layui-btn-sm layui-btn-danger" layEvent="del" label="删除"></t:button>
				<t:button cssClass="layui-btn layui-btn-sm layui-btn-danger" layEvent="empty" label="清空"></t:button>
              </div>
            </script>
            <!-- 表格操作按钮 -->
            <script type="text/html" id="timer-job-log-tool">
				<t:a cssClass="layui-btn layui-btn-primary layui-btn-xs" layEvent="detail" label="查看"></t:a>
            </script>
        	<script type="text/html" id="timer-job-log-status">
         		{{#  if(d.status == '0'){ }}
            		<span class="layui-badge layui-bg-green">成功</span>
				{{#  } else { }}
            		<span class="layui-badge layui-bg-red">失败</span>
          		{{#  } }}
        	</script>
          </div>
        </div>
      </div>
    </div>
  </div>
 
  @include("/include/_container.html", {'js':'/assets/func/timer/joblog/joblog_list.js'}){}
</body>
</html>